# encoding: utf-8

import requests

api = "http://localhost:6698/ali-ner"
params = {"text": "南孚电池5号AA/7号AAA碱性电池聚能环第3代LR6/LR03 7号碱性电池20节 聚能环第3代，电量提升30%"}

data = {"textList": ["南孚电池5号AA/7号AAA碱性电池聚能环第3代LR6/LR03 7号碱性电池20节 聚能环第3代，电量提升30%",
                     "南孚电池5号AA/7号AAA碱性电池聚能环第3代LR6/LR03 7号碱性电池20节 聚能环第3代，电量提升30%"]}

# response = requests.get(api, params=params)

response = requests.post(api, json=data)
print(response.text)
print(response.status_code)

resp = response.json()
print(resp)

print(123)
